/* 
 * File:   TPivote.h
 * Author: bastian
 *
 * Created on 22 de mayo de 2011, 20:33
 */

#ifndef STDIO_H
#include <stdio.h>
#define STDIO_H
#endif

#ifndef MATH_H
#include <math.h>
#define MATH_H
#endif

#ifndef STDLIB_H
#include <stdlib.h>
#define STDLIB_H
#endif

#ifndef STRING_H
#include <string.h>
#define STRING_H
#endif

#ifndef FRACCIONES_H
#include "Fracciones.h"
#define FRACCIONES_H
#endif

#ifndef MATRICES_H
#include "Matrices.h"
#define MATRICES_H
#endif

#ifndef VARIOS_H
#include "varios.h"
#define VARIOS_H
#endif

#ifndef TABLASIMPLEX_H
#include "TablaSimplex.h"
#define TABLASIMPLEX_H
#endif

typedef struct{

    int *indices;
    int repeticiones;
    int CantidadIndices;
    Fraccion *menor;

}TPivote;


TPivote *TPivote_new(int NumeroIndices){
    TPivote *t = (TPivote *) malloc(sizeof(TPivote));
    
    t->indices = (int *) malloc(NumeroIndices*sizeof(int));
    t->CantidadIndices=NumeroIndices;
    t->repeticiones = 0;
    t->menor=NULL;
    
    return t;
}